package erfgame.core;

import java.io.Serializable;

public class DescribedValue<ValueType> implements Serializable {

	private static final long serialVersionUID = 0;
	
	private ValueType value;
	private String description;
	
	public DescribedValue( ValueType value ) {
		this( value, value.toString() );
	}
	
	public DescribedValue( ValueType value, String description ) {
		this.value = value;
		this.description = description;
	}
	
	public ValueType getValue() {
		return this.value;
	}
	
	public String getDescription() {
		return this.description;
	}
}
